Gets an instance of the requested DAO type. If that type has been previously requested, the same instance is served, otherwise a new instance is created.

Namespace: Keystone.Carbonite
Assembly: Keystone.Carbonite (in Keystone.Carbonite.dll)

public TDao Get<TDao>() 
where TDao : IBaseDao, >, OnGet<TDao>, ()
This language is not supported or no code example is available.

Type Parameters

TDao

The DAO type.

Return Value

The instance of the requested DAO type.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono